package alp.starcode.sanping.framework.database.mariadb.mybatis.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author Clxini
 * @since 2024-01-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_dict_data")
@ApiModel(
        value = "SysDictData对象",
        description = "sys_dict_data（字典数据表）"
)
public class SysDictData implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("字典流水号")
    @TableId(
            value = "dict_id",
            type = IdType.AUTO
    )
    private Integer dictId;
    @ApiModelProperty("字典类型")
    private String dictType;
    @ApiModelProperty("字典名称")
    private String dictName;
    @ApiModelProperty("字典标签")
    private String dictLabel;
    @ApiModelProperty("字典状态")
    private Boolean dictStatus;
    @ApiModelProperty("字典键值")
    private String dictValue;
    @ApiModelProperty("备注")
    private String dictRemark;
    @ApiModelProperty("显示顺序")
    private BigDecimal dictSort;
    @ApiModelProperty("创建用户Id")
    @TableField(
            fill = FieldFill.INSERT
    )
    private String createUserId;
    @ApiModelProperty("创建用户名称")
    @TableField(
            fill = FieldFill.INSERT
    )
    private String createUserName;
    @ApiModelProperty("创建时间")
    @TableField(
            fill = FieldFill.INSERT
    )
    private Long createTime;
    @ApiModelProperty("修改用户Id")
    @TableField(
            fill = FieldFill.INSERT_UPDATE
    )
    private String updateUserId;
    @ApiModelProperty("修改用户名称")
    @TableField(
            fill = FieldFill.INSERT_UPDATE
    )
    private String updateUserName;
    @ApiModelProperty("修改时间")
    @TableField(
            fill = FieldFill.INSERT_UPDATE
    )
    private Long updateTime;


}
